LOLMatrix.newsFn = (function () {
    return {
        datetimepickerInit: function () {

            var curLang = LOLMatrix.common.getLang();
            var strLang = 'zh';
            if (curLang === 'en') {
                strLang = 'en';
            }

            $('#datetimepicker1').datetimepicker({
                timepicker: false,
                format: 'Y-m-d',
                lang: strLang,
                theme: "dark",
                maxDate:new Date()
            });
        }
    }
})();




$(function () {
    var newsFn = LOLMatrix.newsFn;
    newsFn.datetimepickerInit();
});
